Skip to content

Mini: Have a separate minimal environment#511

Merged
jan-janssen merged 3 commits intomainfrom
mini
Apr 11, 2026
Merged

Mini: Have a separate minimal environment#511
jan-janssen merged 3 commits intomainfrom
mini

Conversation

@jan-janssen
Copy link
Copy Markdown
Member

@jan-janssen jan-janssen commented Mar 27, 2026

Summary by CodeRabbit

  • Chores
    • Streamlined CI environment setup to speed and simplify build initialization.
    • Switched to a minimal, pinned test environment for more consistent dependency resolution and faster workflow runs.

Copilot AI review requested due to automatic review settings March 27, 2026 18:10
@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Mar 27, 2026

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: f76ded78-f885-477c-b43f-cf87fb2c8b5a

📥 Commits

Reviewing files that changed from the base of the PR and between 77e1416 and 50f421e.

📒 Files selected for processing (1)
  • .github/workflows/pipeline.yml

📝 Walkthrough

Walkthrough

A new minimal Conda environment file is added for CI, and the GitHub Actions minimal job is simplified to write .condarc and provision the runner using .ci_support/environment-mini.yml instead of copying and editing the full environment file.

Changes

Cohort / File(s) Summary
CI Environment Configuration
.ci_support/environment-mini.yml
Added new minimal Conda environment YAML pinning core dependencies (pandas, pyyaml, jinja2, hatchling, hatch-vcs).
GitHub Actions Workflow
.github/workflows/pipeline.yml
Simplified minimal job: write .condarc only and use conda-incubator/setup-miniconda@v3 with .ci_support/environment-mini.yml; removed copy/sed steps that previously generated environment.yml.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

Possibly related PRs

Poem

🐰 A tiny hop, a tidy file,
Channels set and packages dial,
No copy dance, just lean and true,
CI wakes up, refreshed and new! 🥕

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and directly describes the main change: introducing a separate minimal environment configuration file for CI purposes.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch mini

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@codecov
Copy link
Copy Markdown

codecov bot commented Mar 27, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.20%. Comparing base (d81baef) to head (50f421e).
⚠️ Report is 4 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #511   +/-   ##
=======================================
  Coverage   92.20%   92.20%           
=======================================
  Files          19       19           
  Lines        1026     1026           
=======================================
  Hits          946      946           
  Misses         80       80           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR aims to introduce a dedicated “mini” conda environment for the minimal CI job, instead of deriving it by copying and mutating the full environment file.

Changes:

  • Updated the minimal GitHub Actions job to use a new minimal conda environment file.
  • Added .ci_support/environment-mini.yml defining a reduced dependency set for minimal testing.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
.github/workflows/pipeline.yml Switches the minimal job to use the new mini environment file.
.ci_support/environment-mini.yml New minimal conda environment spec used by CI.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

miniforge-version: latest
condarc-file: .condarc
environment-file: environment.yml
environment-file: .ci_support/environment-mini.yml
Copy link

Copilot AI Mar 27, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

environment-file points to environment-mini.yml, but the new env file lives under .ci_support/environment-mini.yml. As written, the setup-miniconda step likely won’t find the file and the minimal job will fail. Update the path (or copy the file into the workspace like the previous approach).

Suggested change
environment-file: .ci_support/environment-mini.yml
environment-file: .ci_support/environment-mini.yml

Copilot uses AI. Check for mistakes.
Copy link
Copy Markdown

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In @.github/workflows/pipeline.yml:
- Around line 100-108: The minimal workflow step "Setup Mambaforge" currently
sets environment-file: environment-mini.yml which points to the repo root;
update that environment-file value to the CI location where the PR added the
file (the .ci_support/environment-mini.yml) so the
conda-incubator/setup-miniconda@v3 step can find and load the environment
correctly.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 4fe0f791-a588-4dd1-a9b2-48a7e1ee39ff

📥 Commits

Reviewing files that changed from the base of the PR and between 63ace34 and 77e1416.

📒 Files selected for processing (2)
  • .ci_support/environment-mini.yml
  • .github/workflows/pipeline.yml

@jan-janssen jan-janssen marked this pull request as draft March 27, 2026 21:21
@jan-janssen jan-janssen marked this pull request as draft March 27, 2026 21:21
@jan-janssen jan-janssen marked this pull request as ready for review April 11, 2026 06:22
@jan-janssen jan-janssen merged commit f6dc769 into main Apr 11, 2026
27 checks passed
@jan-janssen jan-janssen deleted the mini branch April 11, 2026 06:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants